package chapter22.homework02;

public  class ConcreteManageSubject extends ManageSubject {
    //获取本系的系名
    private String departmentName;

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
        //将系名通知给所有的本系人员
        this.notifyObservers();
    }
}